package com.xoa.service.inv;

import com.xoa.model.inv.CusPayment;
import com.xoa.model.inv.CusReceipt;
import com.xoa.util.ToJson;

public interface CusReceiptService {
    ToJson<CusReceipt> insertCusReceipt(CusReceipt cusReceipt);

    ToJson<CusReceipt> updateCusReceipt(CusReceipt cusReceipt);

    ToJson<CusReceipt> selectCusRecepit(CusReceipt cusReceipt,Integer page,Integer limit,String month,String year);

    ToJson<CusReceipt> deleteCusRecepit(String receiptId);

    ToJson<CusReceipt> selectOneCusRecepit(CusReceipt cusReceipt);

    ToJson<CusPayment> insertCusPayment(CusPayment cusPayment);

    ToJson<CusPayment> updateCusPayment(CusPayment cusPayment);

    ToJson<CusPayment> selectCusPayment(CusPayment cusPayment,Integer page,Integer limit,String month,String year);

    ToJson<CusPayment> deleteCusPayment(String paymentId);

    ToJson<CusPayment> selectOneCusPayment(CusPayment cusPayment);





}
